.buttons-control {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  height: 111px;
  box-sizing: border-box;
  background: linear-gradient(to top, $light-grey 0, $light-grey 65px, $black-60 65px, $black-60 111px);
}

@media (min-width: $tablet-width) {
  .buttons-control {
    background: $black-60;
    align-items: center;
    height: 93px;
  }
}

.buttons-control__replay {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  margin-right: auto;
}

.buttons-control__range-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 45px;
}

@media (min-width: $tablet-width) {
  .buttons-control__range-input {
    position: static;
    height: 100%;
    margin-left: 42px;
    margin-right: 42px;
  }
}

.buttons-control__range-track {
  position: absolute;
  display: block;
  width: 235px;
  height: 3px;
  content: "";
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: $white-20;
}

@media (min-width: $tablet-width) {
  .buttons-control__range-track {
    position: relative;
    top: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
  }
}

.buttons-control__range-thumb {
  margin: 0;
  padding: 0;
  position: absolute;
  display: block;
  content: "";
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: $white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.buttons-control__range-thumb::-ms-thumb {
  margin: 0;
  padding: 0;
  position: absolute;
  display: block;
  content: "";
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: $white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

@media (min-width: $tablet-width) {
  .buttons-control__range-thumb {
    left: 30%;
  }
}

@media (min-width: $desktop-width) {
  .buttons-control__range-thumb {
    left: 20%;
  }
}


.buttons-control__subtitles {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  margin-right: 15px;
}

.buttons-control__fullscreen {
  margin: 0;
  padding: 0;
  margin-left: 15px;
  border: none;
  background: none;
}

.buttons-control__image {
  margin: 0;
  padding: 0;
  cursor: pointer;
  fill: #5c6870;

  &:hover {
    fill: #333333;
  }

  &:active {
    fill: #333333;
    opacity: 0.3;
  }
}

@media (min-width: $tablet-width) {
  .buttons-control__image {
    fill: $white-two;

    &:hover {
      fill: $white-two;
      opacity: 0.6;
    }

    &:active {
      fill: $white-two;
      opacity: 0.3;
    }
  }
}
